using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.Serialization;
using System.Xml.Serialization;

namespace Cuahsi.Data.Interop.WaterML2.swe_20
{
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233")]
    [Serializable()]
    [DebuggerStepThrough()]
    [DesignerCategory("code")]
    [XmlType(Namespace = "http://www.opengis.net/swe/2.0")]
    [XmlRoot("DataChoice", Namespace = "http://www.opengis.net/swe/2.0", IsNullable = false)]
    [DataContract(Name = "DataChoiceType", Namespace = "http://www.opengis.net/swe/2.0")]
    public partial class DataChoiceType : AbstractDataComponentType
    {

        private DataChoiceTypeChoiceValue choiceValueField;

        private List<DataChoiceTypeItem> itemField;

        public DataChoiceType()
        {
            this.itemField = new List<DataChoiceTypeItem>();
            this.choiceValueField = new DataChoiceTypeChoiceValue();
        }

        [DataMember()]
        public DataChoiceTypeChoiceValue choiceValue
        {
            get
            {
                return this.choiceValueField;
            }
            set
            {
                this.choiceValueField = value;
            }
        }

        [XmlElement("item")]
        [DataMember()]
        public List<DataChoiceTypeItem> item
        {
            get
            {
                return this.itemField;
            }
        }
    }
}